package com.dabai.iot.core.service;

import com.dabai.iot.core.vo.HomeCountVO;
import com.dabai.iot.core.vo.HomeLineVO;

import java.time.LocalDate;
import java.util.List;

/**
 * 首页统计服务接口类
 *
 * @author kev1n
 */
public interface IHomeService {

    /**
     * 首页数量相关统计
     */
    HomeCountVO countStatistics(String tenantId);

    /**
     * 注册设备数统计
     */
    List<HomeLineVO> createDeviceStatistics(String tenantId, LocalDate startDate, LocalDate endDate);

    /**
     * 在线设备数统计
     */
    List<HomeLineVO> onlineStatistics(String tenantId, LocalDate startDate, LocalDate endDate);

}
